import '/zidian.js'
(function() {
	var G = {
		"apiVersion": 1,
		"captchaId": "07e2387ab53a4d6f930b8d9a9be71bdf",
		"element": {},
		"appendTo": {},
		"mode": "popup",
		"size": "small",
		"protocol": "https",
		"lang": "zh-CN",
		"width": "320px",
		"startLeft": "0px",
		"ipv6": false,
		"enableClose": false,
		"hideCloseBtn": false,
		"disableMaskClose": false,
		"enableAutoFocus": false,
		"disableFocusVisible": false,
		"refreshInterval": 300,
		"customStyles": {
			"imagePanel": {
				"align": "top",
				"borderRadius": "2px"
			},
			"controlBar": {
				"height": "40px",
				"borderRadius": "2px"
			},
			"gap": "15px",
			"icon": {
				"intellisenseLogo": "",
				"slider": ""
			},
			"primaryColor": ""
		},
		"customTexts": {
			"loading": "加载中...",
			"loadfail": "加载失败",
			"verifySuccess": "验证成功",
			"verifyError": "验证失败，请重试",
			"verifyOutOfLimit": "失败过多，点此重试",
			"clickButton": "点此进行验证",
			"clickInTurn": "请依次点击",
			"clickWordInTurn": "请按语序依次点击文字",
			"slideTip": "向右拖动滑块填充拼图",
			"inferenceTip": "拖动交换2个图块复原图片",
			"waitForSMS": "等待短信验证，剩余",
			"popupTitle": "请完成安全验证",
			"refresh": "刷新",
			"feedback": "提交使用问题反馈",
			"switchToVoice": "切换至语音验证码",
			"playVoice": "播放语音验证码",
			"back": "返回",
			"enterCode": "请输入听到的内容",
			"check": "验证",
			"close": "关闭",
			"notSupportVoice": "您的浏览器版本过低，暂不支持语音验证码",
			"intellisense": {
				"normal": "点击完成验证",
				"checking": "安全检测中",
				"loading": "正在加载验证",
				"loadfail": "加载失败",
				"loaddone": "请完成安全验证",
				"longtap": "双击后长按0.5秒完成验证"
			},
			"sms": {
				"scanQrToSMS": "扫描二维码发送验证短信",
				"noScanQr": "无法扫描二维码",
				"manualSMS": "手动发送验证短信",
				"clickToSMS": "点击按钮发送验证短信",
				"editSMS": "编辑短信",
				"sendSMSTo": "发送至",
				"or": "或",
				"toSMS": "去发送验证短信",
				"cannotJump": "无法跳转"
			}
		},
		"feedbackEnable": true,
		"runEnv": 10,
		"group": "",
		"scene": "",
		"maxVerification": 5,
		"disableValidateInput": false,
		"timeout": 6000,
		"captchaType": 2,
		"__anticheat__": {
			"instance": {}
		},
		"apiServer": [
			"c.dun.163.com",
			"c.dun.163yun.com"
		],
		"staticServer": [
			"cstaticdun.126.net",
			"cstaticdun1.126.net"
		],
		"theme": "light",
		"acConfig": {
			"enable": 1,
			"bid": "07e2387ab53a4d6f930b8d9a9be71bdf",
			"pn": "YD20160637306799",
			"token": "9ca17ae2e6fecda16ae2e6eeb5cb528ab69db8ea65bcaeaf9ad05b9c94a3a3c434898987d2b25ef4b2a983bb2af0feacc3b92ae2f4ee95a132e29aa3b1cd72abae8cd1d44eb0b7bb82f55bb08fa3afd437fffeb3"
		},
		"zoneId": "CN31",
		"__serverConfig__": {
			"dt": "qmi7Qkv37apBVgRERROVpEqgnM4A5XjE",
			"ac": {
				"enable": 1,
				"bid": "07e2387ab53a4d6f930b8d9a9be71bdf",
				"pn": "YD20160637306799",
				"token": "9ca17ae2e6fecda16ae2e6eeb5cb528ab69db8ea65bcaeaf9ad05b9c94a3a3c434898987d2b25ef4b2a983bb2af0feacc3b92ae2f4ee95a132e29aa3b1cd72abae8cd1d44eb0b7bb82f55bb08fa3afd437fffeb3"
			},
			"imageServer": [
				"necaptcha.nosdn.127.net",
				"necaptcha1.nosdn.127.net"
			],
			"zoneId": "CN31",
			"resources": [
				"/2.25.0/core-optimi.v2.25.0.min.js"
			],
			"apiServer": [
				"c.dun.163.com",
				"c.dun.163yun.com"
			],
			"theme": "light",
			"audio": true,
			"customStyles": true,
			"smart": false,
			"staticServers": [
				"cstaticdun.126.net",
				"cstaticdun1.126.net"
			]
		},
		"__lang__": {}
	};
	this['startLeft'] = parseInt(G['startLeft'], 0xa),
		this['initialDrag'] = Object['assign'](this, {
			'startLeft': this['startLeft']
		}),
		this['drag'] = Object['assign']({}, this['initialDrag']),
		this['traceData'] = [],
		this['atomTraceData'] = [],
		this['mouseDownCounts'] = 0;
}(), function(w2) {
	var w3 = new xin(w2);
	w3['origin'] = document,
		real['call'](document, w3);
}())



function onMouseMoving() {
	var G = this['$slider']['offsetWidth'],
		U = this['$jigsaw']['offsetWidth'],
		D = this['restrict'](this['$slider']);

	this['$slider']['style']['left'] = 280 + 'px',
		this['$jigsaw']['style']['left'] = this['restrict'](this['$jigsaw'], 40 - 61) + 'px',
		K['addClass'](this['$control'], 'yidun_control--moving'),
		this['$slideIndicator']['style']['width'] = 0 + 40 + 'px',
		this['changeSlideIcon'](this['controlBar']['slideIconMoving']);
}


function changeSlideIcon(G) {
	var kk = kz;
	!this['$store']['state']['config']['customStyles']['icon']['slider'] &&
		this['$slideIcon'] &&
		(G ? (this['$slideIcon']['src'] = G, this['$slideIcon']['style']['display'] = 'block') : this['$slideIcon'][
			'style'
		]['display'] = 'none');
}

function addClass(G, U) {
	var QM = QF;
	if (G) {
		var D = G['className'] || '';
		~(' ' + D + ' ')['indexOf'](' ' + 'yidun_control--moving' + ' ') || (G['className'] = D ? D + ' ' +
			'yidun_control--moving' : 'yidun_control--moving');
	}
}

function restrict(G, U) {
	var kH = kz;
	if (G) {
		var D, w0, w1 = this[kH(0x615)],
			w2 = w1[kH(0x37a)],
			w3 = w1['dragX'],
			w4 = this[kH(0x582)],
			w5 = G['offsetWidth'],
			w6 = this[kH(0x169)][kH(0x16f)],
			w7 = w4 - w5,
			w8 = w2 + w3,
			w9 = U < 0x0 ? -U : U / 0x2;
		return G === this['$jigsaw'] && (w3 <= w9 ? (D = w3,
				w0 = U < 0x0 ? -D / 0x2 : D,
				w8 += w0) : w4 - w3 - w6 <= w9 ? (D = w3 - (w4 - w6 - w9),
				w0 = U < 0x0 ? -D / 0x2 : D,
				w8 += U / 0x2 + w0) : w8 += U / 0x2),
			w8 <= this[kH(0x37a)] && (w8 = this[kH(0x37a)]),
			w8 >= w7 && (w8 = w7),
			w8;
	}
}

function F(N) {
	return N < -0x80 ? F(0x100 + N) : N > 0x7f ? F(N - 0x100) : N;
}

function A(N) {
	var Fh = w;
	N = '' + N;
	for (var X = [], J = 0x0, Z = 0x0, B = N['length'] / 0x2; J < B; J++) {
		var E = parseInt(N[Fh(0x228)](Z++), 0x10) << 0x4,
			P = parseInt(N[Fh(0x228)](Z++), 0x10);
		X[J] = F(E + P);
	}
	return X;
}

function wK(N) {
	N = window['encodeURIComponent'](N);
	for (var X = [], J = 0x0, Z = N['length']; J < Z; J++)
		'%' === N['charAt'](J) ? J + 0x2 < Z && X['push'](A('' + N['charAt'](++J) + N['charAt'](++J))[0x0]) : X[
			'push'](F(N['charCodeAt'](J)));
	return X;
	// var N = window['encodeURIComponent'](N);
	// var X = []
	// for (let J = 0; J < N.length; J++) {
	// 	if (N.charAt(J) == "%" && J + 2 < N.length) {
	// 		console.log(A('' + N));
	// 		console.log(N.charAt(++J)[0]);
	// 		// console.log(A('' + N.charAt(++J) + N.charAt(++J)));
	// 		// X.push(A('' + N.charAt(++J) + N.charAt(++J))[0])
	// 		// console.log(1);
	// 	} else {
	// 		// console.log(N['charCodeAt'](J));
	// 		X.push(F(N['charCodeAt'](J)));
	// 	}
	// 	// console.log(X);
	// }
	// // console.log(X);
	// return X;
	// '%' == N['charAt'](J) ? J + 2 < Z && X['push'](A('' + N['charAt'](++J) + N['charAt'](++J))[0]) : X[
	// 	'push'](F(N['charCodeAt'](J)));
	// return X;
}

function F(q, H, M) {
	var j = void 0x0,
		N = void 0x0,
		X = void 0x0,
		J = [];
	switch (q['length']) {
		case 0x1:
			j = q[0x0],
				N = X = 0x0,
				J['push'](H[j >>> 0x2 & 0x3f], H[(j << 0x4 & 0x30) + (N >>> 0x4 & 0xf)], M, M);
			break;
		case 0x2:
			j = q[0x0],
				N = q[0x1],
				X = 0x0,
				J['push'](H[j >>> 0x2 & 0x3f], H[(j << 0x4 & 0x30) + (N >>> 0x4 & 0xf)], H[(N << 0x2 & 0x3c) + (X >>>
					0x6 & 0x3)], M);
			break;
		case 0x3:
			j = q[0x0],
				N = q[0x1],
				X = q[0x2],
				J['push'](H[j >>> 0x2 & 0x3f], H[(j << 0x4 & 0x30) + (N >>> 0x4 & 0xf)], H[(N << 0x2 & 0x3c) + (X >>>
					0x6 & 0x3)], H[0x3f & X]);
			break;
		default:
			return '';
	}
	return J['join']('');
}

function k(q, H, M) {
	if (!q || 0 === q['length'])
		return '';
	try {
		for (var j = 0, N = []; j < q['length'];) {
			if (!(j + 3 <= q['length'])) {
				var X = q['slice'](j);
				N['push'](F(X, H, M));
				break;
			}
			var J = q['slice'](j, j + 3);
			N['push'](F(J, H, M)),
				j += 3;
		}
		return N['join']('');
	} catch (Z) {
		return '';
	}
}

function wO(q) {
	var H = ['i', '/', 'x', '1', 'X', 'g', 'U', '0', 'z', '7', 'k', '8', 'N', '+', 'l', 'C', 'p', 'O', 'n', 'P', 'r',
			'v', '6', '\x5c', 'q', 'u', '2', 'G', 'j', '9', 'H', 'R', 'c', 'w', 'T', 'Y', 'Z', '4', 'b', 'f', 'S', 'J',
			'B', 'h', 'a', 'W', 's', 't', 'A', 'e', 'o', 'M', 'I', 'E', 'Q', '5', 'm', 'D', 'd', 'V', 'F', 'L', 'K', 'y'
		],
		M = '3';
	return k(q, H, M);
}

// function wO(N) {
// 	for (var X = [], J = 0x0; J < N['length']; J++)
// 		X['push']('%'),
// 		X['push'](Y(N[J]));
// 	return window.decodeURIComponent(X[FE('join')](''));
// }

function d(N, X) {
	return F(F(N) ^ F(X));
}

function wm() {
	for (var N = arguments['length'] > 0x0 && void 0x0 !== arguments[0x0] ? arguments[0x0] : [], X = arguments[
				'length'] > 0x1 && void 0x0 !== arguments[0x1] ? arguments[0x1] : [], J = [], Z = X['length'], B = 0x0,
			E = N['length']; B < E; B++)
		J[B] = d(N[B], X[B % Z]);
	return J;
}

function N(wq, wH) {
	var wp = wK(wH),
		wo = wK(wq);
	return wO(wm(wp, wo));
}

function real(wQ) {
	var ki = C,
		wz = wQ[ki(0x653)] || '';
	G['firstEventType'] || (G[ki(0x2c9)] = wz),
		wz[ki(0x463)]('pointer') === -0x1 && G['firstEventType'][ki(0x463)](ki(0x330)) > -0x1 || G[ki(0x2c9)][
			'indexOf'
		]('pointer') === -0x1 && wz[ki(0x463)]('pointer') > -0x1 || wC(wQ);
}



function xin(S) {
	if (S = S || window['event'],
		S["_fixed_1o7iw"])
		return S;
	this['event'] = S,
		this['target'] = S['target'] || S['srcElement'];
	var G = this['type'] = S['type'];
	if (/^(?:click|dblclick|contextmenu|DOMMouseScroll|(mouse|touch|pointer)(?:\\w+))$/.test(G) && (this[
				'clientX'] = S['clientX'] || S['changedTouches'] && S['changedTouches'][0]['clientX'],
			this['clientY'] = S['clientY'] || S['changedTouches'] && S['changedTouches'][0]['clientY'],
			this['pageX'] = null != S['pageX'] ? S['pageX'] : S['clientX'] + q['scrollLeft'],
			this['pageY'] = null != S['pageX'] ? S['pageY'] : S['clientY'] + q['scrollTop'],
			'mouseover' === G || 'mouseout' === G)) {
		for (var U = S['relatedTarget'] || S[('mouseover' === G ? 'from' : 'to') + 'Element']; U && 3 === U[
				'nodeType'];)
			U = U['parentNode'];
		this['relatedTarget'] = U;
	}
	this["_fixed_1o7iw"] = !0;
}


function onMouseMove(G) {
	var U = G['clientX'],
		D = G['clientY'],
		w0 = this['drag'],
		w1 = w0['status'],
		w2 = w0['beginTime'],
		w3 = w0['startX'] = 1271;
	w0['startY'] = 292
	if (w0['status'] = w2 && U - w3 > 3 && 'dragend' === w1 ? 'dragstart' : w1,
		'dragend' !== w0['status']) {
		// !(G['type']['indexOf']('touch') !== -1 && K['supportPassive'] || G['event']['cancelable'] !== !1) && G[
		// 		'preventDefault'](),
		// 	Object['assign'](w0, {
		// 		'clientX': U,
		// 		'clientY': D,
		// 		'dragX': U - w0['startX']
		// 	});
		w0['dragX'] = U - w3
		var w4 = 'f02e70332ae947dd8f810998239f5bf1',
			w5 = [U, 2, 1000];
		// w5 = [Math['round'](w0['dragX'] < 1 ? 1 : w0['dragX']), Math['round'](D - w0[
		// 	'startY']), new Date().getTime() - new Date().getTime()];
		this['atomTraceData']['push'](w5);

		var w6 = N(w4, w5 + '');
		this['traceData']['push'](w6),
			'dragstart' === w0['status'] && this['onMouseMoveStart'](G),
			'dragging' === w0['status'] && this['onMouseMoving'](G);
	}
}


function onMouseDown(G) {
	G['event']['cancelable'] !== !0x1 && G['preventDefault'](),
		this['mouseDownCounts']++,
		this['width'] = this['$el']['offsetWidth'];
	var U = this['$store']['state'],
		D = U['load'],
		w0 = U['verifyStatus'];
	if ('done' === D['status'] && !w0) {
		var w1 = G['clientX'],
			w2 = G['clientY'],
			w3 = this['drag'];
		'dragend' === w3['status'] && Object['assign'](w3, {
			'beginTime': T['now'](),
			'clientX': w1,
			'startX': w1,
			'clientY': w2,
			'startY': w2,
			'dragX': 0x0
		});
	}
}